package com.dao;

import com.model.GiveBackRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GiveBackRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GiveBackRecord record);

    int insertSelective(GiveBackRecord record);

    GiveBackRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GiveBackRecord record);

    int updateByPrimaryKey(GiveBackRecord record);

    GiveBackRecord selectByOrderNum(@Param("orderNum") String orderNum);
}